package hui.com.model.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserEntity {
    @JsonProperty(value="UID")
    private int UID;
    private String userName;
    private String userPassword;
    private String userCode;
    private String userMail;
    private String userPhone;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String secretKey; //新钥匙
    private String oldSecretKey; //旧密钥
    private Boolean isMFA;//是否允许多人登录
    private List<RoleEntity> roleEntityList; //角色
    private List<PermsEntity> permsEntityList;
}
